@page "/swagger_api"

<iframe src="/api" style="width:100%; height:100vh; border:none;" sandbox="allow-same-origin allow-scripts"></iframe>

@code {
    @* private bool isLoading = true; *@
    
    protected override async Task OnInitializedAsync()
    {
        LogWrapper.Information("访问SwaggerApi页面");
        await base.OnInitializedAsync();
    }
    protected override void OnAfterRender(bool firstRender) {
        if (firstRender) {
            @* isLoading = false; *@
            StateHasChanged();
        }
    }
}